package com.example.liuwangshu.moonmvpsimple.dagger;

import com.example.liuwangshu.moonmvpsimple.ipinfo.IpInfoContract;

import dagger.Module;
import dagger.Provides;

/**
 * Created by qinxiang.zhu on 2018/2/12.
 */

@Module
public class IpInfoModule {
    private IpInfoContract.View mView;
    public IpInfoModule(IpInfoContract.View view) {
        this.mView = view;
    }

    @Provides
    IpInfoContract.View provideIpInfoContract() {
        return mView;
    }
}
